using System;
using NUnit.Framework;
using System.Diagnostics;

namespace Legend.Core.Tests.Integration
{
    [TestFixture]
    public class SystemTimeIntegrationTests
    {
        [Test]
        public void Now_should_return_the_current_system_time_when_not_modified()
        {
            // Arrange

            // Act

            // Assert
            Assert.That(SystemTime.Now.Subtract(DateTime.Now).Ticks, Is.LessThan(TimeSpan.FromSeconds(1).Ticks));
        }
    }
}
